﻿using MediatR;
using SheepStorage.API.Baseclass;
using SheepStorage.Domain.Entity;

namespace SheepStorage.API.Application.Command.SheepMomWeaningCommand
{
    public class SheepWeaningCreateCommand:IRequest<Results<int>>
    {

        public List<WeanDTO>? WeanList { get; set; }

    }


    /// <summary>
    /// 种母断奶DTO
    /// </summary>
    public class WeanDTO
    {
        /// <summary>
        /// 耳号
        /// </summary>
        public string? Overbit { get; set; }
        /// <summary>
        /// 电子耳号
        /// </summary>
        public string? ElectronicOverbit { get; set; }
        /// <summary>
        /// 断奶日期
        /// </summary>
        public DateTime? WeaningDate { get; set; }
        /// <summary>
        /// 断奶天数
        /// </summary>
        public int? BreastfeedingDays { get; set; }
        /// <summary>
        /// 当前栋舍
        /// </summary>
        public string? TransferOutDormitory { get; set; }
        /// <summary>
        /// 当前栏位
        /// </summary>
        public string? RollOutField { get; set; }
        /// <summary>
        /// 转入栋舍
        /// </summary>
        public int? TransferToDormitory { get; set; }
        /// <summary>
        /// 转入栏位
        /// </summary>
        public int? DriveField { get; set; }
        /// <summary>
        /// 断奶只数
        /// </summary>
        public int? WeanlingNumber { get; set; }
        /// <summary>
        /// 断奶总窝重
        /// </summary>
        public decimal? WeaningWeight { get; set; }
        /// <summary>
        /// 种母重量
        /// </summary>
        public decimal? SheepMomWeight { get; set; }
        /// <summary>
        /// 断奶原因
        /// </summary>
        public string? WeaningReason { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Remarks { get; set; }
        /// <summary>
        /// 逻辑删除
        /// </summary>
        public int? IsDel { get; set; }
        /// <summary>
        /// 单据号
        /// </summary>
        public string? DocumentNumber { get; set; }
        /// <summary>
        /// 负责人
        /// </summary>
        public int? Principal { get; set; }
        /// <summary>
        /// 流水号
        /// </summary>
        public string? PurchaseSerialNumber { get; set; }
    }

}
